package com.dzm.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Dzm
 * @since 2024-08-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Student对象", description="")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty("id")
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    @ExcelProperty("学生名称")
    private String sname;

    @ExcelProperty("性别")
    private String sex;

    @ExcelProperty("年龄")
    private Integer age;

    @ExcelProperty("地址")
    private String addr;

    @ExcelProperty("班级id")
    private Integer cid;

    @ExcelProperty("是否删除")
    private Integer isDelete;

    @ExcelProperty("创建时间")
    private Date createTime;

    @ExcelProperty("修改时间")
    private Date updateTime;

    @ExcelProperty("版本号")
    private Integer version;


}
